<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Remeber me</title>
</head>

<body>
    <script>
        /*输入一个三位数的正整数，输出时反向输出 */

        var num = parseInt(window.prompt('请输入你的生日：'));

        var numReverse = num % 10 * 100 + (num - num % 10) / 10 % 10 * 10 + (num - num % 100) / 100;
        document.write("白志刚的生日是：", numReverse + 100);
    </script>
</body>

</html>